package com.yeyks.hotel.service;

import com.github.pagehelper.PageInfo;
import com.yeyks.common.base.PageResult;
import com.yeyks.common.param.hotel.RecommendHotelAddParam;
import com.yeyks.common.param.hotel.RecommendHotelListParam;
import com.yeyks.common.param.hotel.RecommendHotelUpdateParam;
import com.yeyks.hotel.dal.domain.HotelRecommend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.hotel.param.HotelSearchJipAppendPageListParam;
import com.yeyks.hotel.dto.HotelRecommendDTO;


/**
 * <p>
 * 推荐酒店表服务类
 * </p>
 *
 * @author yun
 * @since 2019-12-24
 */
public interface HotelRecommendService extends IService<HotelRecommend> {

    //酒店展示分页查询
    PageInfo<HotelRecommend> pageList(HotelSearchJipAppendPageListParam pageParam);

    /**
     * 推荐酒店列表查询
     *
     * @param param
     * @return
     */
    PageResult<HotelRecommendDTO> myList(RecommendHotelListParam param);

    /**
     * 新增
     *
     * @param param
     * @return
     */
    Boolean add(RecommendHotelAddParam param);

    /**
     * 编辑酒店
     *
     * @param param
     * @return
     */
    Boolean myUpdate(RecommendHotelUpdateParam param);
}
